﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FierceWar
{
	public class FadeScreen : Screen
	{
		public Screen BackgroundScreen;

		public FadeScreen(GameResources resources, EventHandler screenEvent)
			: base(resources, screenEvent)
		{
		}

		public override void Update(Microsoft.Xna.Framework.GameTime gameTime)
		{
			base.Update(gameTime);
		}

		public override void Draw(Microsoft.Xna.Framework.GameTime gameTime)
		{
			if (BackgroundScreen != null)
			{
				BackgroundScreen.Draw(gameTime);
			}

			FadeToBlack(0.6f);
			
			base.Draw(gameTime);
		}
	}
}
